package models

import (
	"gorm.io/gorm"
	"time"
)

type Exams struct {
	Id        int64          `gorm:"column:id;type:bigint(20);primaryKey;not null;" json:"id"`
	Project   string         `gorm:"column:project;type:varchar(20);not null;" json:"project"`
	Types     string         `gorm:"column:types;type:varchar(20);not null;" json:"types"`
	CreatedAt time.Time      `gorm:"column:created_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"created_at"`
	UpdatedAt time.Time      `gorm:"column:updated_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"updated_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);default:NULL;" json:"deleted_at"`
	Status    string         `gorm:"column:status;type:varchar(20);default:NULL;" json:"status"`
	Fire      string         `gorm:"column:fire;type:varchar(20);not null;" json:"fire"`
	Author    string         `gorm:"column:author;type:varchar(20);not null;" json:"author"`
	Name      string         `gorm:"column:name;type:varchar(20);not null;" json:"name"`
	Data      string         `gorm:"column:data;type:varchar(20);not null;" json:"data"`
}

//unique_index
